
#pragma once
#ifdef _SKEYMINI
#include "PadSimple2.h"
#include "TimerUser.h"

class CVirtualSimple2 : public CVirtualDlg, public CDataSimple2
{
public:
	CVirtualSimple2();
	~CVirtualSimple2() override;
	CVirtualData *VirtualDataPtr() override { return this; }

	BOOL Create(CSKEYBid* pParentWnd);
	DECLARE_VDLG_TIMER_EVENT()
protected:
	HUSERTIMER m_timer;
	void SetCtrlTimer(UINT_PTR nIDEvent, UINT nElapse) override { m_timer = SET_VDLG_TIMER(nIDEvent, nElapse); }
	void KillCtrlTimer() override { KILL_USER_TIMER(m_timer); }

	void setCtrlSetButtons(intptr_t def, bool hookDataAvailable) override;
	void setCtrlDoTimer(intptr_t enableMask) override;
	void setCtrlEnableNext(bool enable) override;
};

#endif
